package com.lry.web.cartoon.service;

import com.lry.web.cartoon.entity.CartoonUpdate;
import com.lry.web.cartoon.entity.Cartoon;
import com.lry.web.cartoon.entity.CartoonUpdate;

import java.util.List;
import java.util.Map;

public interface CartoonUpdateService {

    int setCartoonUpdate(CartoonUpdate cartoonUpdate);

    List<CartoonUpdate> getCartoonUpdates();

    int setCartoonUpdateUp(CartoonUpdate cartoonUpdate);
    int deleteByCartoonId(String cartoonId);
    int deleteByCVId(String cVId);
    Map<String, CartoonUpdate> selectByCartoon(List<Cartoon> cartoons);
    int updateDeleted(String cartoonId);

    int deleteByCId(String id);
}
